<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page language="java" import="com.limao.Tool.CacheClass"%>
<%@ page language="java" import="com.limao.servlet.WebFunction"%>
<% 
    String type=request.getParameter("type");
    String direction=request.getParameter("direction");
    String price=request.getParameter("price");
    String num=request.getParameter("num");
    
    int userid=1001;
    int vrgoodsid=1;
    
    /**
      http://192.168.0.177:8080/crowd/pc/mins.jsp
      
      http://192.168.0.177:8080/crowd/pc/k-painter.jsp
      
      http://192.168.0.177:8080/crowd/Test/TestTrade.jsp?type=1&direction=1&price=10.2&num=1000
      
      type:喊价  0买 1卖   ;   方向   0涨 1跌
      
      ?type=1&direction=0&price=10.2&num=1000     ?type=0&direction=1&price=10.2&num=1000   这一行希望达成的价格越高越好
      
      ?type=0&direction=0&price=10.2&num=1000     ?type=1&direction=1&price=10.2&num=1000   这一行希望达成的价格越低越好
      
    **/
    
	WebFunction.TestUserTrade(userid,vrgoodsid,CacheClass.getIntValue(type),CacheClass.getIntValue(direction),CacheClass.getFloatValue(price),CacheClass.getIntValue(num));
%>